home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / sockdem.zip / _SETUP.1 / socketsDlg.h < prev    next >
C/C++ Source or Header  |  1997-06-19  |  2KB  |  78 lines

  1. // socketsDlg.h : header file
  2. //
  3. //{{AFX_INCLUDES()
  4. #include "mswinsockcontrol.h"
  5. //}}AFX_INCLUDES
  6.  
  7. #if !defined(AFX_SOCKETSDLG_H__396C63E7_E702_11D0_9E91_00A0249EBADC__INCLUDED_)
  8. #define AFX_SOCKETSDLG_H__396C63E7_E702_11D0_9E91_00A0249EBADC__INCLUDED_
  9.  
  10. #if _MSC_VER >= 1000
  11. #pragma once
  12. #endif // _MSC_VER >= 1000
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CSocketsDlg dialog
  16.  
  17. class CSocketsDlg : public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CSocketsDlg(CWnd* pParent = NULL);    // standard constructor
  22.     VARIANT myVar;
  23. // Dialog Data
  24.     //{{AFX_DATA(CSocketsDlg)
  25.     enum { IDD = IDD_SOCKETS_DIALOG };
  26.     CString    m_ed3;
  27.     CString    m_ed4;
  28.     CMSWinsockControl* pMySocket;
  29.     CMSWinsockControl    m_mysock;
  30.     long    m_RemotePort;
  31.     long    m_LocalPort;
  32.     CString    m_rxText;
  33.     CString    m_txText;
  34.     CString    m_localIP;
  35.     CString    m_remoteIP;
  36.     short    m_state;
  37.     int        myTimer;
  38.     //}}AFX_DATA
  39.  
  40.  
  41.     // ClassWizard generated virtual function overrides
  42.     //{{AFX_VIRTUAL(CSocketsDlg)
  43.     protected:
  44.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48. protected:
  49.     HICON m_hIcon;
  50.  
  51.     // Generated message map functions
  52.     //{{AFX_MSG(CSocketsDlg)
  53.     virtual BOOL OnInitDialog();
  54.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  55.     afx_msg void OnPaint();
  56.     afx_msg HCURSOR OnQueryDragIcon();
  57.     afx_msg void OnSetSocket();
  58.     afx_msg void OnChangeEdTX();
  59.     afx_msg void OnDataArrivalWinsock1(long bytesTotal);
  60.     afx_msg void OnErrorWinsock1(short Number, BSTR FAR* Description, long Scode, LPCTSTR Source, LPCTSTR HelpFile, long HelpContext, BOOL FAR* CancelDisplay);
  61.     afx_msg void OnConnectWinsock1();
  62.     afx_msg void OnConnectionRequestWinsock1(long requestID);
  63.     afx_msg void OnCloseWinsock1();
  64.     afx_msg void OnSendProgressWinsock1(long bytesSent, long bytesRemaining);
  65.     afx_msg void OnSendCompleteWinsock1();
  66.     afx_msg void OnTimer(UINT nIDEvent);
  67.     afx_msg void OnDestroy();
  68.     afx_msg void OnSend();
  69.     DECLARE_EVENTSINK_MAP()
  70.     //}}AFX_MSG
  71.     DECLARE_MESSAGE_MAP()
  72. };
  73.  
  74. //{{AFX_INSERT_LOCATION}}
  75. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  76.  
  77. #endif // !defined(AFX_SOCKETSDLG_H__396C63E7_E702_11D0_9E91_00A0249EBADC__INCLUDED_)
  78.